package net.cooltain.warhammer.running.window.button;

import java.awt.event.MouseEvent;

import net.cooltain.warhammer.framework.constant.ConstantPhases;
import net.cooltain.warhammer.running.entity.MotionPlayerZone;

public class Phases3CapitalBtn extends PhasesBtn {

	private static final long serialVersionUID = 3940922163475535548L;
	
	public Phases3CapitalBtn(MotionPlayerZone player) {
		super(player , ConstantPhases.CAPITAL_PHASES_CN , ConstantPhases.CAPITAL_PHASES);
		this.addMouseListener(this);
	}

	public void mouseClicked(MouseEvent e) {
		if(this.isEnabled()){
			
			player.toPhases3CapitalPhases();
			this.setEnabled(false);
			player.mainFrame.reloadPhases();
		}
	}

}
